﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="actionUser.ascx.cs" Inherits="VISS.Web.Frontend.Modules.User.Profile.ActionUserControl" %>


<% if (!IsPersonal) { %>
    <div id="action-box">
        <div class="content">
            <div class="main">
                <div class="row">
                    <% if (CanDoAction) { %>
                        <a href="/profile/album?u=<%=UserKey %>"><span class="item view-image" >Hình ảnh (<%=ImageCount %>)</span></a>
                    <% } else { %>
                        <a href="javascript:void(0);" onclick="jAlert(VarifiedAccountRequired);"><span class="item view-image" >Hình ảnh (<%=ImageCount %>)</span></a>
                    <% } %>
                </div>
                <div class="row">
                    <span class="item send-message" onclick="SendMessagePopup('<%=UserKey %>');">Gửi tin nhắn</span>
                </div>
                <div class="row">
                    <span class="item add-follow" onclick="AddFollow('<%=UserKey %>');">Quan tâm</span>
                </div>
                <div class="row">
                    <span class="item report-user" onclick="window.parent.location = '<%=AppSettings.RootURL %>profile/contactlist';">Xin xem thông tin</span>
                </div>
                 <div class="row">
                    <span class="item sendgif-user" onclick="window.parent.location = '<%=AppSettings.RootURL %>profile/giflist';">Tài sản</span>
                </div>                
            </div>
            <div class="border-right">
                <div class="top"></div>
                <div class="bottom"></div>
            </div>
        </div>
        <div class="border-bottom">
            <div class="left"></div>
            <div class="right"></div>
        </div>
    </div>
    <% if (CanDoAction) { %>
        <input type="hidden" id="CanDoAction" value="true" />
    <% } else { %>
        <input type="hidden" id="CanDoAction" value="false" />
    <% } %>
<% } %>